package com.hsource.usercenter.feign;

import com.hsource.common.utils.CommonResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author itoug
 * @Crreate 2020-10-23 17:24
 */


@FeignClient(name="doctor-center",path = "doctor-center/user")
public interface  CyUserLoginFeignClient {
    /**
     * 配置需要调用的微服务接口
     */
    @PostMapping(value="/userLogin")
    CommonResp cyUserLogin(@RequestParam("userId") String userId,@RequestParam("password") String password);
}


